package com.smart.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import com.smart.common.annotation.Excel;
import lombok.Data;
import lombok.Builder;
import com.smart.common.core.domain.BaseEntity;
import lombok.*;


/**
 * 地址关联车辆对象 area_car
 * 
 * @author smart
 * @date 2024-09-25
 */
@Data
@Builder
@TableName("area_car")
@AllArgsConstructor
@NoArgsConstructor
public class AreaCar
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Schema(description ="${comment}")
    @TableField(value = "id",exist = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 区域id */
    @Excel(name = "区域id")
    @Schema(description ="区域id")
    @TableField(value = "area_id",exist = true)
    private Integer areaId;

    /** 车辆id */
    @Excel(name = "车辆id")
    @Schema(description ="车辆id")
    @TableField(value = "car_id",exist = true)
    private Integer carId;

}